<?php
    session_start();
?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8" />
        <!-- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  -->
    <title>Otaku World | Edit Profile </title>
        <!--<meta name="viewport" content="width=device-width, initial-scale=1.0"> 
        <meta name="description" content="Login and Registration Form with HTML5 and CSS3" />
        <meta name="keywords" content="html5, css3, form, switch, animation, :target, pseudo-class" />
        <meta name="author" content="Codrops" />
        <link rel="shortcut icon" href="../favicon.ico">-->
        <!--<link rel="stylesheet" type="text/css" href="css/login_register_demo.css" />
        <link rel="stylesheet" type="text/css" href="css/login_register_style.css" />
	<link rel="stylesheet" type="text/css" href="css/login_register_animate-custom.css" />
	<link rel="stylesheet" type="text/css" href="css/navigation_style.css" />-->
	<!--<link rel="stylesheet" type="text/css" href="css/general_global.css" />-->
    <link rel="stylesheet" type="text/css" href="../../css/main.css" />
</head>
<body>
<div class="header">
    
    <div class="navigation">
		<ul>
			    <li><a href="../../index.php" title="HOME">HOME</a></li>
			    <li><a href="../../account/profile/myprofile.php" title="MY PROFILE">&nbsp;MYPROFILE</a>&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;</li>
			    <li>You are logged in as, <?php echo $_SESSION['fname'].' '.$_SESSION['lname']; ?><a href="../../account/logout/logout.php" title="LOGOUT">&nbsp;(logout)</a></li>
		</ul>
    </div>
</div>
<div class="main">
    <div id="user_content">
	<table>
	    <form action="../../account/update/userinfoUpdate.php" method="POST">
		<tr>
		    <td>New First Name</td>
		    <td><input type="text" size="40" name="fname" value="<?php echo $_SESSION['fname']; ?>" ></td>
		</tr>
		<tr>
		    <td>New Last Name</td>
		    <td><input type="text" size="40" name="lname" value="<?php echo $_SESSION['lname']; ?>" ></td>
		</tr>
		<tr>
		    <td>New Email</td>
		    <td><input type="text" size="40" name="email" value="<?php echo $_SESSION['email']; ?>" ></td>
		</tr>
		<tr>
		    <td>New password</td>
		    <td><input type="password" size="40" name="password" value="<?php echo $_SESSION['password']; ?>" ></td>
		</tr>
		<tr>
		    <td>New Gender</td>
		    <td><select name="gender" value="<?php echo $_SESSION['fname']; ?>" >
			    <option value="Male">Male</option>
			    <option value="Female">Female</option>
		    </td>
		</tr>
		<tr>
		    <td><input type="hidden" name="id" value="<?php echo $_SESSION['user_id']; ?>" ></td>
		</tr>
		<tr>
		    <td><input type="submit" value="Update Profile" /></td>
		</tr>
	    </form>
	</table>
    </div>
</div>
<br>
<div class="footer">
    <div class="footer-inner">
	<div class="footer-left">
	  <ul>
	    <li>&#8226 OTAKU WORLD &copy;</li>
	    <li>BY JAMONER DEVELOPMENT &#8226</li>
	    <li>ALL RIGHTS RESERVED 2012-2013</li>
	  </ul>
	  <ul>
	    <li class="small">Web Development Project</a> </li>
	    <li class="small">by&nbsp;<a href="http://facebook.com/bandmaster.4869.ryanj">Ryan Cris Jamoner </a></li>
	  </ul>
	</div>
	<div class="footer-right">
	  <ul>
	    <li><a href="../../index.php">HOME</a> | </li>
	    <li><a href="../../account/profile/myprofile.php">MYPROFILE</a></li>
	  </ul>
	</div>
    </div>
</div>
</body>
</html>